package com.jiyun.controller;

import com.jiyun.entity.day01.Memberr;
import com.jiyun.mapper.FeginService;
import com.jiyun.service.UserService;
import com.jiyun.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/*
 * 作者：LiuHaoyang
 * 时间：2023/8/22 11:34
 * 描述：
 **/
@RestController
@RequestMapping("user")
public class UserController {

    @Autowired
    private FeginService feginService;

    @GetMapping("login")
    public R login(Memberr memberr){
           return feginService.login(memberr);
    }








}
